﻿using UnityEngine;
using Unity.Entities;

public class EnemyTagAuthoring : MonoBehaviour
{
    public class Baker : Baker<EnemyTagAuthoring>
    {
        public override void Bake(EnemyTagAuthoring authoring)
        {
            var entity = GetEntity(TransformUsageFlags.Dynamic);
            AddComponent(entity, new EnemyTag());
        }
    }
}

/// <summary>
/// 敌人标签
/// </summary>
public partial struct EnemyTag : IComponentData
{

}